package com.lyx.bookmanager.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


public class Reader {
    private Long readerId;
    private String name;
    private String sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birth;
    private String address;
    private String telcode;
    private int ispriviledge;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date p_createtime;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date p_endtime;
	public Reader() {
		super();
	}



	public int getIspriviledge() {
		return ispriviledge;
	}

	public void setIspriviledge(int ispriviledge) {
		this.ispriviledge = ispriviledge;
	}

	public Date getP_createtime() {
		return p_createtime;
	}

	public void setP_createtime(Date p_createtime) {
		this.p_createtime = p_createtime;
	}

	public Date getP_endtime() {
		return p_endtime;
	}

	public void setP_endtime(Date p_endtime) {
		this.p_endtime = p_endtime;
	}

	public Long getReaderId() {
		return readerId;
	}

	public void setReaderId(Long readerId) {
		this.readerId = readerId;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTelcode() {
		return telcode;
	}
	public void setTelcode(String telcode) {
		this.telcode = telcode;
	}
    
}
